PulseCanvas / app · pulsecanvas.ai / Sources / PulseCanvas / Resources / ProjectM / Presets / Dancer / Hatches / suksma - phaemctner.milk
| 1 | MILKDROP_PRESET_VERSION=201 |
| 2 | PSVERSION=2 |
| 3 | PSVERSION_WARP=2 |
| 4 | PSVERSION_COMP=2 |
| 5 | [preset00] |
| 6 | fRating=5.000000 |
| 7 | fGammaAdj=1.000 |
| 8 | fDecay=0.955 |
| 9 | fVideoEchoZoom=0.997 |
| 10 | fVideoEchoAlpha=0.500 |
| 11 | nVideoEchoOrientation=1 |
| 12 | nWaveMode=7 |
| 13 | bAdditiveWaves=1 |
| 14 | bWaveDots=0 |
| 15 | bWaveThick=0 |
| 16 | bModWaveAlphaByVolume=1 |
| 17 | bMaximizeWaveColor=1 |
| 18 | bTexWrap=0 |
| 19 | bDarkenCenter=0 |
| 20 | bRedBlueStereo=0 |
| 21 | bBrighten=0 |
| 22 | bDarken=0 |
| 23 | bSolarize=0 |
| 24 | bInvert=0 |
| 25 | fWaveAlpha=0.001 |
| 26 | fWaveScale=1.286 |
| 27 | fWaveSmoothing=0.630 |
| 28 | fWaveParam=0.000 |
| 29 | fModWaveAlphaStart=0.710 |
| 30 | fModWaveAlphaEnd=1.300 |
| 31 | fWarpAnimSpeed=1.000 |
| 32 | fWarpScale=1.331 |
| 33 | fZoomExponent=1.00000 |
| 34 | fShader=1.000 |
| 35 | zoom=0.99951 |
| 36 | rot=0.00000 |
| 37 | cx=0.500 |
| 38 | cy=0.500 |
| 39 | dx=0.00000 |
| 40 | dy=0.00000 |
| 41 | warp=0.01000 |
| 42 | sx=1.00000 |
| 43 | sy=1.00000 |
| 44 | wave_r=0.650 |
| 45 | wave_g=0.650 |
| 46 | wave_b=0.650 |
| 47 | wave_x=0.500 |
| 48 | wave_y=0.500 |
| 49 | ob_size=0.005 |
| 50 | ob_r=0.000 |
| 51 | ob_g=0.000 |
| 52 | ob_b=0.000 |
| 53 | ob_a=1.000 |
| 54 | ib_size=0.000 |
| 55 | ib_r=0.250 |
| 56 | ib_g=0.250 |
| 57 | ib_b=0.250 |
| 58 | ib_a=0.000 |
| 59 | nMotionVectorsX=64.000 |
| 60 | nMotionVectorsY=48.000 |
| 61 | mv_dx=0.000 |
| 62 | mv_dy=0.000 |
| 63 | mv_l=0.000 |
| 64 | mv_r=1.000 |
| 65 | mv_g=1.000 |
| 66 | mv_b=1.000 |
| 67 | mv_a=0.000 |
| 68 | b1n=0.000 |
| 69 | b2n=0.000 |
| 70 | b3n=0.000 |
| 71 | b1x=1.000 |
| 72 | b2x=1.000 |
| 73 | b3x=1.000 |
| 74 | b1ed=0.250 |
| 75 | wavecode_0_enabled=1 |
| 76 | wavecode_0_samples=512 |
| 77 | wavecode_0_sep=0 |
| 78 | wavecode_0_bSpectrum=0 |
| 79 | wavecode_0_bUseDots=0 |
| 80 | wavecode_0_bDrawThick=1 |
| 81 | wavecode_0_bAdditive=1 |
| 82 | wavecode_0_scaling=1.00000 |
| 83 | wavecode_0_smoothing=0.50000 |
| 84 | wavecode_0_r=1.000 |
| 85 | wavecode_0_g=1.000 |
| 86 | wavecode_0_b=1.000 |
| 87 | wavecode_0_a=1.000 |
| 88 | wave_0_per_frame1=t1 = q9; |
| 89 | wave_0_per_frame2=t2 = q10; |
| 90 | wave_0_per_frame3=t3 = q11; |
| 91 | wave_0_per_frame4=t4 = q12; |
| 92 | wave_0_per_point1=x = t1 + (t3-t1)*sample; |
| 93 | wave_0_per_point2=y = t2 + (t4-t2)*sample; |
| 94 | wavecode_1_enabled=1 |
| 95 | wavecode_1_samples=512 |
| 96 | wavecode_1_sep=0 |
| 97 | wavecode_1_bSpectrum=0 |
| 98 | wavecode_1_bUseDots=0 |
| 99 | wavecode_1_bDrawThick=1 |
| 100 | wavecode_1_bAdditive=1 |
| 101 | wavecode_1_scaling=1.00000 |
| 102 | wavecode_1_smoothing=0.50000 |
| 103 | wavecode_1_r=1.000 |
| 104 | wavecode_1_g=1.000 |
| 105 | wavecode_1_b=1.000 |
| 106 | wavecode_1_a=1.000 |
| 107 | wave_1_per_frame1=t1 = q13; |
| 108 | wave_1_per_frame2=t2 = q14; |
| 109 | wave_1_per_frame3=t3 = q15; |
| 110 | wave_1_per_frame4=t4 = q16; |
| 111 | wave_1_per_point1=x = t1 + (t3-t1)*sample; |
| 112 | wave_1_per_point2=y = t2 + (t4-t2)*sample; |
| 113 | wavecode_2_enabled=1 |
| 114 | wavecode_2_samples=512 |
| 115 | wavecode_2_sep=0 |
| 116 | wavecode_2_bSpectrum=0 |
| 117 | wavecode_2_bUseDots=0 |
| 118 | wavecode_2_bDrawThick=1 |
| 119 | wavecode_2_bAdditive=1 |
| 120 | wavecode_2_scaling=1.00000 |
| 121 | wavecode_2_smoothing=0.50000 |
| 122 | wavecode_2_r=1.000 |
| 123 | wavecode_2_g=1.000 |
| 124 | wavecode_2_b=1.000 |
| 125 | wavecode_2_a=1.000 |
| 126 | wave_2_per_frame1=t1 = q17; |
| 127 | wave_2_per_frame2=t2 = q18; |
| 128 | wave_2_per_frame3=t3 = q19; |
| 129 | wave_2_per_frame4=t4 = q20; |
| 130 | wave_2_per_point1=x = t1 + (t3-t1)*sample; |
| 131 | wave_2_per_point2=y = t2 + (t4-t2)*sample; |
| 132 | wavecode_3_enabled=1 |
| 133 | wavecode_3_samples=512 |
| 134 | wavecode_3_sep=0 |
| 135 | wavecode_3_bSpectrum=0 |
| 136 | wavecode_3_bUseDots=0 |
| 137 | wavecode_3_bDrawThick=1 |
| 138 | wavecode_3_bAdditive=1 |
| 139 | wavecode_3_scaling=1.00000 |
| 140 | wavecode_3_smoothing=0.50000 |
| 141 | wavecode_3_r=1.000 |
| 142 | wavecode_3_g=1.000 |
| 143 | wavecode_3_b=1.000 |
| 144 | wavecode_3_a=1.000 |
| 145 | wave_3_per_frame1=t1 = q21; |
| 146 | wave_3_per_frame2=t2 = q22; |
| 147 | wave_3_per_frame3=t3 = q23; |
| 148 | wave_3_per_frame4=t4 = q24; |
| 149 | wave_3_per_point1=x = t1 + (t3-t1)*sample; |
| 150 | wave_3_per_point2=y = t2 + (t4-t2)*sample; |
| 151 | shapecode_0_enabled=0 |
| 152 | shapecode_0_sides=4 |
| 153 | shapecode_0_additive=0 |
| 154 | shapecode_0_thickOutline=0 |
| 155 | shapecode_0_textured=1 |
| 156 | shapecode_0_num_inst=1 |
| 157 | shapecode_0_x=0.500 |
| 158 | shapecode_0_y=0.500 |
| 159 | shapecode_0_rad=1.79142 |
| 160 | shapecode_0_ang=0.00000 |
| 161 | shapecode_0_tex_ang=0.62832 |
| 162 | shapecode_0_tex_zoom=1.00000 |
| 163 | shapecode_0_r=1.000 |
| 164 | shapecode_0_g=1.000 |
| 165 | shapecode_0_b=1.000 |
| 166 | shapecode_0_a=0.000 |
| 167 | shapecode_0_r2=0.000 |
| 168 | shapecode_0_g2=0.000 |
| 169 | shapecode_0_b2=0.000 |
| 170 | shapecode_0_a2=1.000 |
| 171 | shapecode_0_border_r=1.000 |
| 172 | shapecode_0_border_g=1.000 |
| 173 | shapecode_0_border_b=1.000 |
| 174 | shapecode_0_border_a=0.000 |
| 175 | shapecode_1_enabled=0 |
| 176 | shapecode_1_sides=4 |
| 177 | shapecode_1_additive=0 |
| 178 | shapecode_1_thickOutline=0 |
| 179 | shapecode_1_textured=0 |
| 180 | shapecode_1_num_inst=1 |
| 181 | shapecode_1_x=0.500 |
| 182 | shapecode_1_y=0.500 |
| 183 | shapecode_1_rad=0.10000 |
| 184 | shapecode_1_ang=0.00000 |
| 185 | shapecode_1_tex_ang=0.00000 |
| 186 | shapecode_1_tex_zoom=1.00000 |
| 187 | shapecode_1_r=1.000 |
| 188 | shapecode_1_g=0.000 |
| 189 | shapecode_1_b=0.000 |
| 190 | shapecode_1_a=1.000 |
| 191 | shapecode_1_r2=0.000 |
| 192 | shapecode_1_g2=1.000 |
| 193 | shapecode_1_b2=0.000 |
| 194 | shapecode_1_a2=0.000 |
| 195 | shapecode_1_border_r=1.000 |
| 196 | shapecode_1_border_g=1.000 |
| 197 | shapecode_1_border_b=1.000 |
| 198 | shapecode_1_border_a=0.100 |
| 199 | shapecode_2_enabled=0 |
| 200 | shapecode_2_sides=4 |
| 201 | shapecode_2_additive=0 |
| 202 | shapecode_2_thickOutline=0 |
| 203 | shapecode_2_textured=0 |
| 204 | shapecode_2_num_inst=1 |
| 205 | shapecode_2_x=0.500 |
| 206 | shapecode_2_y=0.500 |
| 207 | shapecode_2_rad=0.10000 |
| 208 | shapecode_2_ang=0.00000 |
| 209 | shapecode_2_tex_ang=0.00000 |
| 210 | shapecode_2_tex_zoom=1.00000 |
| 211 | shapecode_2_r=1.000 |
| 212 | shapecode_2_g=0.000 |
| 213 | shapecode_2_b=0.000 |
| 214 | shapecode_2_a=1.000 |
| 215 | shapecode_2_r2=0.000 |
| 216 | shapecode_2_g2=1.000 |
| 217 | shapecode_2_b2=0.000 |
| 218 | shapecode_2_a2=0.000 |
| 219 | shapecode_2_border_r=1.000 |
| 220 | shapecode_2_border_g=1.000 |
| 221 | shapecode_2_border_b=1.000 |
| 222 | shapecode_2_border_a=0.100 |
| 223 | shapecode_3_enabled=0 |
| 224 | shapecode_3_sides=4 |
| 225 | shapecode_3_additive=0 |
| 226 | shapecode_3_thickOutline=0 |
| 227 | shapecode_3_textured=0 |
| 228 | shapecode_3_num_inst=1 |
| 229 | shapecode_3_x=0.500 |
| 230 | shapecode_3_y=0.500 |
| 231 | shapecode_3_rad=0.10000 |
| 232 | shapecode_3_ang=0.00000 |
| 233 | shapecode_3_tex_ang=0.00000 |
| 234 | shapecode_3_tex_zoom=1.00000 |
| 235 | shapecode_3_r=1.000 |
| 236 | shapecode_3_g=0.000 |
| 237 | shapecode_3_b=0.000 |
| 238 | shapecode_3_a=1.000 |
| 239 | shapecode_3_r2=0.000 |
| 240 | shapecode_3_g2=1.000 |
| 241 | shapecode_3_b2=0.000 |
| 242 | shapecode_3_a2=0.000 |
| 243 | shapecode_3_border_r=1.000 |
| 244 | shapecode_3_border_g=1.000 |
| 245 | shapecode_3_border_b=1.000 |
| 246 | shapecode_3_border_a=0.100 |
| 247 | per_frame_init_1=// clear screen first |
| 248 | per_frame_init_2=ob_r = 0; ob_g = 0; ob_b = 0; ob_a = 1; |
| 249 | per_frame_init_3=ib_r = 0; ib_g = 0; ib_b = 0; ib_a = 1; |
| 250 | per_frame_init_4=ob_size = 0.5; |
| 251 | per_frame_init_5=ib_size = 0.5; |
| 252 | per_frame_init_6=start = 1; |
| 253 | per_frame_1=zoom = 1; |
| 254 | per_frame_2=warp = 0; |
| 255 | per_frame_3=xx1 = xx1*0.9 + (bass); |
| 256 | per_frame_4=xx2 = xx2*0.9 + (treb); |
| 257 | per_frame_5=yy1 = yy1*0.94 + (treb+bass)*0.75; |
| 258 | per_frame_6=x1 = 0.5 + xx2-xx1; |
| 259 | per_frame_7=y1 = 0.5 + yy1; |
| 260 | per_frame_8=spring = 10; |
| 261 | per_frame_9=grav = .5; |
| 262 | per_frame_10=resist = 1; |
| 263 | per_frame_11=bounce = 0.5; |
| 264 | per_frame_12=dt = .001000000; |
| 265 | per_frame_13=vx2 = vx2*(1-resist*dt) + dt*((x1+x3-2*x2)*spring); |
| 266 | per_frame_14=vy2 = vy2*(1-resist*dt) + dt*((y1+y3-2*y2)*spring-grav); |
| 267 | per_frame_15=vx3 = vx3*(1-resist*dt) + dt*((x2+x4-2*x3)*spring); |
| 268 | per_frame_16=vy3 = vy3*(1-resist*dt) + dt*((y2+y4-2*y3)*spring-grav); |
| 269 | per_frame_17=vx4 = vx4*(1-resist*dt) + dt*((x3-x4)*spring); |
| 270 | per_frame_18=vy4 = vy4*(1-resist*dt) + dt*((y3-y4)*spring-grav); |
| 271 | per_frame_19=x2 = x2 + vx2; |
| 272 | per_frame_20=y2 = y2 + vy2; |
| 273 | per_frame_21=x3 = x3 + vx3; |
| 274 | per_frame_22=y3 = y3 + vy3; |
| 275 | per_frame_23=x4 = x4 + vx4; |
| 276 | per_frame_24=y4 = y4 + vy4; |
| 277 | per_frame_25=vx2 = if(above(x2,0),vx2,abs(vx2)*bounce); |
| 278 | per_frame_26=vx2 = if(below(x2,1),vx2,-abs(vx2)*bounce); |
| 279 | per_frame_27=vx3 = if(above(x3,0),vx3,abs(vx3)*bounce); |
| 280 | per_frame_28=vx3 = if(below(x3,1),vx3,-abs(vx3)*bounce); |
| 281 | per_frame_29=vx4 = if(above(x4,0),vx4,abs(vx4)*bounce); |
| 282 | per_frame_30=vx4 = if(below(x4,1),vx4,-abs(vx4)*bounce); |
| 283 | per_frame_31=vy2 = if(above(y2,0),vy2,abs(vy2)*bounce); |
| 284 | per_frame_32=vy2 = if(below(y2,1),vy2,-abs(vy2)*bounce); |
| 285 | per_frame_33=vy3 = if(above(y3,0),vy3,abs(vy3)*bounce); |
| 286 | per_frame_34=vy3 = if(below(y3,1),vy3,-abs(vy3)*bounce); |
| 287 | per_frame_35=vy4 = if(above(y4,0),vy4,abs(vy4)*bounce); |
| 288 | per_frame_36=vy4 = if(below(y4,1),vy4,-abs(vy4)*bounce); |
| 289 | per_frame_37= |
| 290 | per_frame_38=ww = ww + (vx3-vx4)*10 - (x4-x3)*0.3+ bb*asin(1)*2; |
| 291 | per_frame_39= |
| 292 | per_frame_40=startx = endx; |
| 293 | per_frame_41=starty = endy; |
| 294 | per_frame_42=endx = startx + cos(ww)*0.004; |
| 295 | per_frame_43=endy = starty + sin(ww)*0.004; |
| 296 | per_frame_44= |
| 297 | per_frame_45=monitor = x4; |
| 298 | per_frame_46= |
| 299 | per_frame_47=bb = 1- above(endx,0.2)*above(endy,0.2)*below(endx,0.8)*below(endy,0.8); |
| 300 | per_frame_48= |
| 301 | per_frame_49=endx = min(0.8,max(0.2,endx)); |
| 302 | per_frame_50=endy = min(0.8,max(0.2,endy)); |
| 303 | per_frame_51= |
| 304 | per_frame_52= |
| 305 | per_frame_53=q9 = startx; q10 = starty; q11 = endx; q12 = endy; |
| 306 | per_frame_54=q13 = startx*1.1; q14 = starty*1.1; q15 = endx*1.1; q16 = endy*1.1; |
| 307 | per_frame_55=q17 = startx*bass; q18 = starty*treb; q19 = endx*mid; q20 = endy*1.3; |
| 308 | per_frame_56=q21 = starty*bass; q22 = startx*treb; q23 = endy*mid; q24 = endx*1.3; |
| 309 | per_frame_57= |
| 310 | per_frame_58= |
| 311 | per_frame_59=ob_size = start; |
| 312 | per_frame_60=ib_size = start; |
| 313 | per_frame_61=start = start-1; |
| 314 | warp_1=`shader_body { |
| 315 | warp_2=`float corr = texsize.xy*texsize_noise_lq.zw; |
| 316 | warp_3=`float2 uv1 = float2(uv.x-0.5,uv.y-0.5)*aspect.xy; |
| 317 | warp_4=` |
| 318 | warp_5=` |
| 319 | warp_6=`float3 noiseVal =lum (tex2D(sampler_noise_lq, corr*uv*.02+ .1*rand_frame)); |
| 320 | warp_7=` |
| 321 | warp_8=`float2 k1 = float2((uv.x), (uv.y)); |
| 322 | warp_9=` |
| 323 | warp_10=`float3 ret1 = GetBlur1(uv) ; |
| 324 | warp_11=` |
| 325 | warp_12=`float k2 = (20*uv)%2; |
| 326 | warp_13=` |
| 327 | warp_14=`float2 zz = uv.xy * texsize.xy *.08; |
| 328 | warp_15=`float h1 = (tan(zz.x)); |
| 329 | warp_16=`float h2 = (tan(zz.y)); |
| 330 | warp_17=` |
| 331 | warp_18=`uv.xy -= float2(h1,h2)*texsize.zw * 3; |
| 332 | warp_19=` |
| 333 | warp_20=` |
| 334 | warp_21=`float3 crisp = tex2D(sampler_main,uv) + noiseVal/30; |
| 335 | warp_22=` |
| 336 | warp_23=`crisp = lerp (crisp, 1-crisp.zyx, 0.01); |
| 337 | warp_24=` |
| 338 | warp_25=` ret = crisp -.03 - 0.2*pow(1-rad,18); |
| 339 | warp_26=`} |
| 340 | comp_1=`shader_body |
| 341 | comp_2=`{ |
| 342 | comp_3=` float2 uv2; |
| 343 | comp_4=` |
| 344 | comp_5=` float4 c = float4(1,0.4,0.15,0.1); |
| 345 | comp_6=` |
| 346 | comp_7=` uv2 = uv + float2(1,0)*texsize.zw; |
| 347 | comp_8=` float gx1 = GetPixel(uv2)*c.x + GetBlur1(uv2)*c.y + GetBlur2(uv2)*c.z + GetBlur3(uv2)*c.w; |
| 348 | comp_9=` uv2 = uv + float2(-1,0)*texsize.zw; |
| 349 | comp_10=` float gx2 = GetPixel(uv2)*c.x + GetBlur1(uv2)*c.y + GetBlur2(uv2)*c.z + GetBlur3(uv2)*c.w; |
| 350 | comp_11=` |
| 351 | comp_12=` uv2 = uv + float2(0,1)*texsize.zw; |
| 352 | comp_13=` float gy1 = GetPixel(uv2)*c.x + GetBlur1(uv2)*c.y + GetBlur2(uv2)*c.z + GetBlur3(uv2)*c.w; |
| 353 | comp_14=` uv2 = uv + float2(0,-1)*texsize.zw; |
| 354 | comp_15=` float gy2 = GetPixel(uv2)*c.x + GetBlur1(uv2)*c.y + GetBlur2(uv2)*c.z + GetBlur3(uv2)*c.w; |
| 355 | comp_16=` |
| 356 | comp_17=` float3 g = normalize(float3(gx1-gx2, gy1-gy2, 0.14)); |
| 357 | comp_18=` |
| 358 | comp_19=` ret = 0.5 + 0.5*g; |
| 359 | comp_20=` ret *= saturate(length(ret.xy-0.5)*5); |
| 360 | comp_21=` ret = ret.xxy; |
| 361 | comp_22=` ret += 1.15; |
| 362 | comp_23=` ret *= lerp(ret,ret*(GetBlur3(uv)-GetBlur1(uv)*treb_att),pow(hue_shader.xzy,bass_att)); |
| 363 | comp_24=` ret *= ret; |
| 364 | comp_25=` |
| 365 | comp_26=` //ret *= 1.5; //old gamma effect |
| 366 | comp_27=`} |